package com.mvvm.ktnet.http.base

import com.squareup.moshi.JsonClass

/**
 *
 * @ProjectName:    KtNet
 * @Package:        com.mvvm.ktnet.http
 * @ClassName:      IBaseResponse
 * @Description:     java类作用描述
 * @Author:         Alex
 * @CreateDate:     2020/11/12 9:50
 * @UpdateUser:     更新者：
 * @UpdateDate:     2020/11/12 9:50
 * @UpdateRemark:   更新说明：
 * @Version:        1.0
 */
//基础解析接口，可以继承这个实现
interface IBaseResponse<T> {
    fun code(): Int?
    fun msg(): String?
    fun data(): T?
    fun success(): Boolean
}